Skip to content

Tidy Instant config types and ValidationLevel placement#94323

Open
icyJoseph wants to merge 5 commits into
canaryfrom
fix/types-and-js-docs
Open

Tidy Instant config types and ValidationLevel placement#94323
icyJoseph wants to merge 5 commits into
canaryfrom
fix/types-and-js-docs

Conversation

@icyJoseph
Copy link
Copy Markdown
Member

  • Simplify Instant and InstantConfigSchema
  • Restore NextConfig JS/TS docs overtaken by ValidationLevel's placement

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Failing test suites

Commit: db34127 | About building and testing Next.js

pnpm test-start test/production/app-dir/metadata-static-route-cache/metadata-static-route-cache.test.ts (job)

  • app dir - metadata static routes cache > should generate different content after replace the static metadata file (DD)
Expand output

● app dir - metadata static routes cache › should generate different content after replace the static metadata file

next already started

  65 |   ) {
  66 |     if (this.childProcess) {
> 67 |       throw new Error('next already started')
     |             ^
  68 |     }
  69 |
  70 |     this._cliOutput = ''

  at NextStartInstance.start (lib/next-modes/next-start.ts:67:13)
  at Object.start (production/app-dir/metadata-static-route-cache/metadata-static-route-cache.test.ts:17:16)

pnpm test-start-turbo test/e2e/prerender.test.ts (turbopack) (job)

  • Prerender > should of formatted build output correctly (DD)
Expand output

● Prerender › should of formatted build output correctly

expect(received).toMatch(expected)

Expected pattern: /\+2 more paths/
Received string:  "▲ Next.js 16.3.0-canary.41 (Turbopack)
- Experiments (use with caution):
  ✓ strictRouteTypes (enabled by `__NEXT_EXPERIMENTAL_STRICT_ROUTE_TYPES`)·
  Running TypeScript ...
  Finished TypeScript in 108ms ...
  Creating an optimized production build ...
✓ Compiled successfully in 10.7s
  Collecting page data using 15 workers ...
  Generating static pages using 15 workers (0/50) ...
Warning: data for page \"/large-page-data\" is 256 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
  Generating static pages using 15 workers (12/50)··
Warning: data for page \"/blocking-fallback/[slug]\" (path \"/blocking-fallback/lots-of-data\") is 256 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
  Generating static pages using 15 workers (24/50)··
  Generating static pages using 15 workers (37/50)··
getStaticProps test-errors-1
✓ Generating static pages using 15 workers (50/50) in 2.4s
  Finalizing page optimization ...·
Route (pages)                                                     Revalidate  Expire
┌ ● /                                                                     2s      1y
├ ○ /404
├ ● /another                                                              1s      1y
├   /api-docs/[...slug] (324 ms)
│ └ ● /api-docs/first
├ ƒ /api/bad
├ ƒ /api/enable
├ ƒ /api/manual-revalidate
├ ƒ /bad-gssp
├ ƒ /bad-ssr
├   /blocking-fallback-once/[slug] (1026 ms)
│ └ ● /blocking-fallback-once/404-on-manual-revalidate (1026 ms)
├   /blocking-fallback-some/[slug] (2125 ms)                              1s      1y
│ ├ ● /blocking-fallback-some/b (1063 ms)
│ └ ● /blocking-fallback-some/a (1062 ms)
├   /blocking-fallback/[slug] (1143 ms)
│ ├ ● /blocking-fallback/test-errors-1 (1060 ms)
│ └ ● /blocking-fallback/lots-of-data
├ ● /blog                                                                10s      1y
├   /blog/[post] (1757 ms)                                               10s      1y
│ ├ ● /blog/post-1 (304 ms)
│ ├ ● /blog/post-2 (304 ms)
│ ├ ● /blog/[post3] (304 ms)
│ ├ ● /blog/post-4 (304 ms)
│ └ ● /blog/post.1 (304 ms)
├   /blog/[post]/[comment] (403 ms)                                       2s      1y
│ ├ ● /blog/post-1/comment-1
│ └ ● /blog/post-2/comment-2
├   /catchall-explicit/[...slug] (1243 ms)                                1s      1y
│ ├ ● /catchall-explicit/first
│ ├ ● /catchall-explicit/second
│ ├ ● /catchall-explicit/another/value
│ └ ● [+3 more paths]
├   /catchall-optional/[[...slug]] (387 ms)
│ ├ ● /catchall-optional/value (305 ms)
│ └ ● /catchall-optional
├   /catchall/[...slug] (353 ms)                                          1s      1y
│ ├ ● /catchall/first
│ ├ ● /catchall/second
│ ├ ● /catchall/another/value
│ └ ● /catchall/hello/another
├ ● /default-revalidate
├   /dynamic/[slug]
│ ├ ● /dynamic/[first]
│ └ ● /dynamic/[second]
├ ● /fallback-only/[slug]
├   /fallback-true/[slug]                                                 2s      1y
│ └ ● /fallback-true/first
├   /lang/[lang]/about (486 ms)
│ ├ ● /lang/en/about
│ ├ ● /lang/es/about
│ ├ ● /lang/fr/about
│ └ ● /lang/de/about
├ ● /large-page-data
├ ƒ /large-page-data-ssr
├ ● /non-json-blocking/[p]
├ ● /non-json/[p]
├ ○ /normal
├ ● /preview
├ ● /something
├ ƒ /ssr
└ ● /user/[user]/profile·
○  (Static)   prerendered as static content
●  (SSG)      prerendered as static HTML (uses getStaticProps)
ƒ  (Dynamic)  server-rendered on demand·
▲ Next.js 16.3.0-canary.41
- Local:         http://localhost:36381
- Network:       http://172.18.0.2:36381
✓ Ready in 265ms
Error: such broken..

  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  getStaticProps random-path
  Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  getStaticProps blocked-create
  Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[root-of-the-server]__12kjq-g._.js:1:35563)
  ⨯ Error: such broken..
  at l (../.next/server/chunks/ssr/[root-of-the-server]__201zmrp._.js:1:7502)
  at async q (../.next/server/chunks/ssr/[r

... truncated ...

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Stats cancelled

Commit: db34127
View workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant